package com.peng.spring.auto;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @Author peng
 * @Date 2024-04-16 15:53
 */
public class TestUserCache {


    public static void main(String[] args) {
        AnnotationConfigApplicationContext annotationConfigApplicationContext = new AnnotationConfigApplicationContext("com.peng.spring.auto");
        UserCache userCache = annotationConfigApplicationContext.getBean(UserCache.class);
        System.out.println(userCache);
    }
}
